<ion-searchbar (ionInput)="search($event)" animated="true" placeholder="搜索错题"></ion-searchbar>


<ion-card *ngFor="let item of errorQuestionList">
    <ion-card-header>
        <ion-card-title>{{ item.questionEntity?.title }}</ion-card-title>
        <ion-card-subtitle>{{ item.questionEntity?.typeName }}</ion-card-subtitle>
    </ion-card-header>

     <!-- 单选题 -->
     <ion-card-content *ngIf="item.questionEntity?.type === 0">
        <div>我的答案：{{ item.questionEntity?.content[item.answer[0]] }}</div>
        <ion-radio-group [value]="item.questionEntity?.answer[0]">
            <ion-radio  [disabled]="true" *ngFor="let cq of item.questionEntity?.content; let i = index" [value]="i" class="center">
                {{ cq }}
            </ion-radio>
          </ion-radio-group>
    </ion-card-content>

</ion-card>
